<template>
  <el-select  size="mini" :value="lineHeight" placeholder="请选择行高" @input="change($event)">
    <el-option label="1倍行高" value="1" />
    <el-option label="1.2倍行高" value="1.2" />
    <el-option label="1.5倍行高" value="1.5" />
    <el-option label="1.8倍行高" value="1.8" />
    <el-option label="2倍行高" value="2" />
    <el-option label="2.5倍行高" value="2.5" />
  </el-select>
</template>

<script>
export default {
  name: 'LineHeight',
  props: {
    lineHeight: {
      type: String,
      default: 'normal'
    }
  },
  data() {
    return {
      // fontSize:14
    }
  },
  methods: {
    change: function(val) {
      this.$emit('lineHeightChange', val)
    }
  }
}
</script>

<style scoped>

</style>
